package com.cuit.service;

import com.cuit.pojo.AcceptOrderData;
import com.cuit.pojo.Doctor;
import com.cuit.pojo.DoctorOrder;
import com.cuit.pojo.Patient;

import java.util.List;

public interface PatientService {
    //用户注册
    public void register(Patient patient);
    //用户登录
    public Patient login(Patient patient);
    //判断手机号是否重复,返回true就重复了
    public boolean existPatient(String p_id);
    //用户修改信息
    public void modify(Patient patient);
    //用户修改密码
    public void modifyPassword(String p_id, String p_password);
    //用户根据医生名称、科室名称、号种种类查询医生的信息
    public List<AcceptOrderData> queryDoctor(Doctor doctor, DoctorOrder doctorOrder);
}
